package com.myz.rabbitmqspring.spring;

import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;


/**
 * @author maoyz on 18-4-11.
 */
public class RabbitMain {

    public static void main(String[] args) {
        AbstractApplicationContext context = new ClassPathXmlApplicationContext("spring-rabbitmq.xml");
        context.start();
    }
}
